SET(LIBLNUTILITY_SRC 
  ul_memory_pool.cpp
  ul_log_adapter.cpp
  ul_timer.cpp
  ul_mod_define.cpp
  ul_malloc.cpp
  ul_util.cpp
  ul_pipe_task_queue.cpp
  ul_condition_task_queue.cpp
  ul_single_pop_stack.cpp
  ul_stack_task_queue.cpp
  ul_fifo_task_queue.cpp
  )

INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/include)

ADD_LIBRARY(lnutility STATIC ${LIBLNUTILITY_SRC})
#ADD_LIBRARY(lnutility_static STATIC ${LIBLNUTILITY_SRC})
#SET_TARGET_PROPERTIES(lnutility_static PROPERTIES OUTPUT_NAME "lnutility")

INSTALL(TARGETS lnutility
  LIBRARY DESTINATION lib
  ARCHIVE DESTINATION lib)
